<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="keys" content="">
    <meta name="author" content="">
    <base th:href="@{/}">
    <link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="css/font-awesome.min.css">
    <link rel="stylesheet" href="css/login.css">
    <script src="jquery/jquery-2.1.1.min.js"></script>
    <script src="bootstrap/js/bootstrap.min.js"></script>
    <title>登录窗口</title>
</head>
<body>
<div th:replace="pagehead::pagehead"></div>

<div class="container">

    <form action="auth/member/do/login" method="post" class="form-signin" role="form">
        <input hidden name="url" th:value="${param.url}"/>
        <h2 class="form-signin-heading"><i class="glyphicon glyphicon-log-in"></i> 用户登录</h2>
        <p th:text="${message}">这里显示登录失败的提示消息 </p>
        <p th:text="${session.message}">这里显示登录检查后不允许访问的的提示消息 </p>
        <div class="form-group has-success has-feedback">
            <input type="text" name="loginacct" class="form-control" id="inputSuccess1" placeholder="请输入登录账号" autofocus>
            <span class="glyphicon glyphicon-user form-control-feedback"></span>
        </div>
        <div class="form-group has-success has-feedback">
            <input type="password" name="userpswd" class="form-control" id="inputSuccess2" placeholder="请输入登录密码"
                   style="margin-top:10px;">
            <span class="glyphicon glyphicon-lock form-control-feedback"></span>
        </div>
        <div class="checkbox" style="text-align:right;"><a th:href="@{/auth/member/to/reg/page}"
                                                           href="reg.html">我要注册</a></div>
        <button class="btn btn-lg btn-success btn-block" type="submit">登陆</button>
        <a class="btn btn-lg btn-success btn-block" href="http://localhost:81/"> 返回首页</a>
    </form>
</div>

</body>
</html>